package com.timk.goserver.server.util;

import org.apache.log4j.Logger;

/**
 * Logger
 * @author TKington
 *
 */
public class GSLogger {
	private static final Logger logger = Logger.getLogger(GSLogger.class);
	
	/**
	 * Log an error
	 * @param error
	 */
	public static void logError(String error) {
		logger.error(error);
	}
	
	/**
	 * Logs an error with a Throwable
	 * @param message
	 * @param t
	 */
	public static void logError(String message, Throwable t) {
		logger.error(message, t);
	}
}
